7f1ddd5520ad39f7a4d95189a2136d19c2acd4c3,advanced/main/java/org/neo4j/kernel/ha/SlaveIdGenerator.java,SlaveIdGenerator,nextId,#,98
Before Change
if ( nextId == VALUE_REPRESENTING_NULL )
{
// If we dont have anymore grabbed ids from master, grab a bunch
IdAllocation allocation = receiver.receive(
broker.getMaster().allocateIds( receiver.getSlaveContext(), idType ) );
nextId = storeLocally( allocation );
}
return nextId;
After Change
if ( nextId == VALUE_REPRESENTING_NULL )
{
// If we dont have anymore grabbed ids from master, grab a bunch
IdAllocation allocation = broker.getMaster().allocateIds( idType );
nextId = storeLocally( allocation );
}
return nextId;